//
//  XQToastConfig.swift
//  Spark Peso
//
//  Created by 小琦 on 2025/1/28.
//

import UIKit

public class XQToastConfig {
    public var animationDuration = 0.5
    public var showTime : Double = 1.5
    
    public var toastMaxWidth : Float = 375
    public var toastMaxHeight : Float = 500
    public var cornerRadius : CGFloat = 4

    public var bgColor : UIColor = UIColor.init(hex:"1E232B")!.withAlphaComponent(0.9)
    
    public var horizontalPadding : Float = 20
    public var verticalPadding : Float = 10
    public var offset : Float = 100
    public var padding : Float = 10
    public var offsetType : ToastPosition = .center
    
    public var messageColor : UIColor = .white
    public var messageFont : UIFont = UIFont.systemFont(ofSize: 14)
}

